package com.dkd.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 工单类型对象 tb_task_type
 *
 * @author Lxb
 * @since 2025-10-12
 */
public class TaskType extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long typeId;

    /**
     * 类型名称
     */
    @Excel(name = "类型名称")
    private String typeName;

    /**
     * 工单类型。1:维修工单;2:运营工单
     */
    @Excel(name = "工单类型。1:维修工单;2:运营工单")
    private Long type;

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getType() {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("typeId", getTypeId())
                .append("typeName", getTypeName())
                .append("type", getType())
                .toString();
    }
}
